<#include "/common/_start.html"/>

<@layout>
<script>
function addurl(obj){
	$("#iframe").attr("src",obj);
}
</script>
  <style>
    .header {
      text-align: center;
    }
    .header h1 {
      font-size: 200%;
      color: #333;
      margin-top: 30px;
    }
    .header p {
      font-size: 14px;
    }
  </style>
<body>
	<!--[if lte IE 9 ]><div class="am-alert am-alert-danger ie-warning" data-am-alert>
  <button type="button" class="am-close">&times;</button>
  <div class="am-container">
    你的浏览器太古董了，妹子无爱，<a
    href="http://browsehappy.com/" target="_blank">还不速速换一个</a>！</div></div><![endif]-->
	<!-- Header -->
<div class="header">
  <div class="am-g">
    <h1>超级朋友圈2.0</h1>
  </div>
  <hr />
</div>
<div class="am-g">
  <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
    <h3>登录</h3>
    <hr>
    	${msg?if_exists}
    <br>
    <br>

    <form method="post" class="am-form"  action="${ctx}/login" method="post">
      <label for="email">用户名:</label>
      <input type="text" name="userName" id="userName" value="">
      <br>
      <label for="password">密码:</label>
      <input type="password" name="passwd" id="passwd" value="">
      <br>
  
      <br />
      <div class="am-cf">
        <input type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm am-fl">
      </div>
    </form>
    <hr>
    <p>© 2014 AutoWang.</p>
  </div>
</div>



<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="${ctx}/css/assets/js/polyfill/rem.min.js"></script>
<script src="${ctx}/css/assets/js/polyfill/respond.min.js"></script>
<script src="${ctx}/css/assets/js/amazeui.legacy.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="${ctx}/css/assets/js/jquery.min.js"></script>
<script src="${ctx}/css/assets/js/amazeui.min.js"></script>
<!--<![endif]-->

</body>
</@layout>
</html>

